Missing grammar for conditional configflags on/to architecture
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
Creating a snap that will support many architectures require conditional ``configflags``.
The grammar available for ``build-packages`` and ``stage-packages`` would be nice to also have for ``configflags``.
(A side note is that the existing support for build/stage-packages could grow the ability to list multiple architectures so you don't have to repeat entries that are true for multiple archs)
Mock-up that matches existing grammar for build/stage-packages:
parts:
qemu:
plugin: autotools
configflags:
- on amd64:
- --enable-xen
- on i386:
- --enable-xen
Even better:
parts:
qemu:
plugin: autotools
configflags:
?
- all
:
- "--enable-something-everywhere"
?
- amd64
- i386
:
- "--enable-xen"
Evaluation history
No evaluation history available.